Skip to main content
GET
`GET /api/mcp/oauth/callback` — public browser redirect target (HTML, not JSON).

Query Parameters

code
string

OAuth authorization code

state
string

Opaque state minted by the authorize step

error
string

OAuth error code, if the provider denied

error_description
string

Human-readable OAuth error

Response

HTML page closing the popup, or an HTML error page

The response is of type string.